package com.neusoft.shopping.manager.service;

import com.neusoft.shopping.manager.dao.LogisticsDAOImpl;
import com.neusoft.shopping.manager.entity.LogisticsEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogisticsService {
    @Autowired
    private LogisticsDAOImpl dao;
    public List< LogisticsEntity> qureyAll(){
        return dao.qureyAll();
    }
    public int add_logistics(LogisticsEntity logistics){
        return dao.add_logistics(logistics);
    }
}
